package com.marquis.cloud.common;

public class Json {

    private Boolean success = false;
    private String message = "系统异常";
    private Object result;

    public Json() {

    }

    public Json(Boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public Json(Boolean success, String message, Object result) {
        this.success = success;
        this.message = message;
        this.result = result;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
